package com.lianniu.web.demand.vo;

import java.util.Date;
import java.util.List;

public class DemandVo {

    public static final String STATUS_NORMAL = "1";
    public static final String STATUS_FORBIDDEN = "2";

    public static final String DEMAND_STATUS_INIT = "1";
    public static final String DEMAND_STATUS_PRICED = "2";
    public static final String DEMAND_STATUS_FINISH = "3";

    public static final String APPROVE_STATUS_INIT = "1";
    public static final String APPROVE_STATUS_THROUGH = "2";
    public static final String APPROVE_STATUS_DENIED = "3";


    private Long id;

    private String demandcode;

    private Long usersid;

    private Byte demandstatus;

    private Byte approvestatus;

    private Date deadline;

    private Integer clickcount;

    private Integer supplycount;

    private String isdead;

    private String isonline;

    private String status;

    private String delflag;

    private String adduser;

    private Date addtime;

    private String modifyuser;

    private Date modifytime;

    private List<DemandDetailVo> details;

    public List<DemandDetailVo> getDetails() {
        return details;
    }

    public void setDetails(List<DemandDetailVo> details) {
        this.details = details;
    }

    public Integer getSupplycount() {
        return supplycount;
    }

    public void setSupplycount(Integer supplycount) {
        this.supplycount = supplycount;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getDemandcode() {
        return demandcode;
    }

    public void setDemandcode(String demandcode) {
        this.demandcode = demandcode == null ? null : demandcode.trim();
    }

    public Long getUsersid() {
        return usersid;
    }

    public void setUsersid(Long usersid) {
        this.usersid = usersid;
    }

    public Byte getDemandstatus() {
        return demandstatus;
    }

    public void setDemandstatus(Byte demandstatus) {
        this.demandstatus = demandstatus;
    }

    public Byte getApprovestatus() {
        return approvestatus;
    }

    public void setApprovestatus(Byte approvestatus) {
        this.approvestatus = approvestatus;
    }

    public Date getDeadline() {
        return deadline;
    }

    public void setDeadline(Date deadline) {
        this.deadline = deadline;
    }

    public Integer getClickcount() {
        return clickcount;
    }

    public void setClickcount(Integer clickcount) {
        this.clickcount = clickcount;
    }

    public String getIsdead() {
        return isdead;
    }

    public void setIsdead(String isdead) {
        this.isdead = isdead == null ? null : isdead.trim();
    }

    public String getIsonline() {
        return isonline;
    }

    public void setIsonline(String isonline) {
        this.isonline = isonline == null ? null : isonline.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public String getDelflag() {
        return delflag;
    }

    public void setDelflag(String delflag) {
        this.delflag = delflag == null ? null : delflag.trim();
    }

    public String getAdduser() {
        return adduser;
    }

    public void setAdduser(String adduser) {
        this.adduser = adduser == null ? null : adduser.trim();
    }

    public Date getAddtime() {
        return addtime;
    }

    public void setAddtime(Date addtime) {
        this.addtime = addtime;
    }

    public String getModifyuser() {
        return modifyuser;
    }

    public void setModifyuser(String modifyuser) {
        this.modifyuser = modifyuser == null ? null : modifyuser.trim();
    }

    public Date getModifytime() {
        return modifytime;
    }

    public void setModifytime(Date modifytime) {
        this.modifytime = modifytime;
    }
}